package com.onlineexam.mapper;

import com.onlineexam.bean.ExamDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface ExamDetailMapper {
    //考试详情列表
    @Select("SELECT b.*,detail_id as 'detailId',exam_id as 'examId',question_id as 'questionId',stu_answer as 'stuAnswer' from exam_detail b;")
    List<ExamDetail> list();


}
